Problem descriptionRecently encountered a problem in the development time, SPRINGMVC page to the background of the data, usually I do so, in the foreground to the data into a JSON, in the background interface using @requestbody to define an object
Why input ' 12 ' on the page, can copy to the handler method corresponding parameter?And because a type converter is not able to convert a user-submitted string into all types required by the user, a custom type converter is required toCase: Custom
1. Configuring the Web. xml fileapp Public"-//sun Microsystems, INC.//DTD Web application 2.3//en" "Http://java.sun.com/dtd/web-app_2_3.dtd" >archetype Created Web application cha Racterencodingfilter
Preface: For the basic data types of Java and some system classes (such as Date class, Collection Class), STRUTS2 provides built-in type conversion functionality, but there are some limitations. So the custom type converter is shownFirst, apply to
Note: The development background: Import into the MyEclipse source code is GBK encoding, the project is UTF-8 encoding, resulting in viewing the source code garbled problem.Package com.test;Import Java.io.File;Import java.io.IOException;Import
Java source code garbled problem encoding converter, java source codeNote: Development Background: The Source Code imported to myeclipse is gbk encoding, and the project is UTF-8 encoding, leading to garbled source code check.Zookeeper
Package com.
Note: The development background: Import into the MyEclipse source code is GBK encoding, the project is UTF-8 encoding, resulting in viewing the source code garbled problem. Package com.test;Import Java.io.File;Import java.io.IOException;Import
Today, using the SSM framework, with @responsebody annotations, this problem arises.Java.lang.IllegalArgumentException:No Converter found for returnValue of type:classJava.util.ArrayList at
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.